#ifndef DOWNLOADMANAGER_H
#define DOWNLOADMANAGER_H

#include "readdatathread.h"

#include <QObject>

class DownloadManager : public QObject
{
    Q_OBJECT
public:
    explicit DownloadManager(QObject *parent = nullptr);


private:
    ReadDataThread *m_readDataThread;

signals:
    void sendSig(int t);

public slots:
    void onReceived(int t);
    void startDownload();
};

#endif // DOWNLOADMANAGER_H
